package org.hxyjs.dao;


import org.hxyjs.entity.User;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface UserDao {
    public List<User>  getAllUsers() throws Exception;
    Integer deleteUserByUno(String uno) throws Exception;
    Integer updateUserByUno(User user) throws Exception;
    Integer addUser(User user) throws Exception;
    public List<User> getUserByPage(PageInfo pageInfo) throws Exception;
    public String getMaxUno();
}
